<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: HttpRequest.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">HttpRequest.h</div></div>
</div><!--header-->
<div class="contents">
<a href="HttpRequest_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor">#include &lt;<a class="code" href="exports_8h.html">drogon/exports.h</a>&gt;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#include &lt;drogon/utils/Utilities.h&gt;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#include &lt;<a class="code" href="DrClassMap_8h.html">drogon/DrClassMap.h</a>&gt;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#include &lt;<a class="code" href="HttpTypes_8h.html">drogon/HttpTypes.h</a>&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#include &lt;<a class="code" href="Session_8h.html">drogon/Session.h</a>&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#include &lt;<a class="code" href="Attribute_8h.html">drogon/Attribute.h</a>&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#include &lt;<a class="code" href="UploadFile_8h.html">drogon/UploadFile.h</a>&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#include &lt;json/json.h&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#include &lt;trantor/net/InetAddress.h&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#include &lt;trantor/net/Certificate.h&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &lt;trantor/utils/Date.h&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor">#include &lt;unordered_map&gt;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">#include &lt;optional&gt;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="preprocessor">#include &lt;string_view&gt;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor">#include &lt;trantor/net/TcpConnection.h&gt;</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacedrogon.html">drogon</a></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>{</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="keyword">class </span>HttpRequest;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="keyword">using </span><a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> = std::shared_ptr&lt;HttpRequest&gt;;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00045" data-start="{" data-end="}">
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="namespacedrogon.html#a11d29ebe41b2ce6a39b9c517fe259298">   45</a></span>T <a class="code hl_function" href="namespacedrogon.html#a11d29ebe41b2ce6a39b9c517fe259298">fromRequest</a>(<span class="keyword">const</span> <a class="code hl_class" href="classdrogon_1_1HttpRequest.html">HttpRequest</a> &amp;)</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>{</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    LOG_ERROR &lt;&lt; <span class="stringliteral">&quot;You must specialize the fromRequest template for the type of &quot;</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>              &lt;&lt; <a class="code hl_function" href="classdrogon_1_1DrClassMap.html#a3479980ccf7edf6b886a02a29af181e4">DrClassMap::demangle</a>(<span class="keyword">typeid</span>(T).name());</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>    exit(1);</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>}</div>
</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00058" data-start="{" data-end="}">
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="namespacedrogon.html#aa521ad1caa3b6cefbf3f4d44e834158b">   58</a></span><a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="namespacedrogon.html#aa521ad1caa3b6cefbf3f4d44e834158b">toRequest</a>(T &amp;&amp;)</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>{</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>    LOG_ERROR &lt;&lt; <span class="stringliteral">&quot;You must specialize the toRequest template for the type of &quot;</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>              &lt;&lt; <a class="code hl_function" href="classdrogon_1_1DrClassMap.html#a3479980ccf7edf6b886a02a29af181e4">DrClassMap::demangle</a>(<span class="keyword">typeid</span>(T).name());</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    exit(1);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>}</div>
</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span><span class="keyword">template</span> &lt;&gt;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="namespacedrogon.html#af7f11c24519ad14ef0e4686231fad1f4">toRequest&lt;const Json::Value &amp;&gt;</a>(<span class="keyword">const</span> Json::Value &amp;pJson);</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span><span class="keyword">template</span> &lt;&gt;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span><a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="namespacedrogon.html#aa521ad1caa3b6cefbf3f4d44e834158b">toRequest</a>(Json::Value &amp;&amp;pJson);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span><span class="keyword">template</span> &lt;&gt;</div>
<div class="foldopen" id="foldopen00071" data-start="{" data-end="}">
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="namespacedrogon.html#a4b98643f5682fc8fa40e72fb0f4724dc">   71</a></span><span class="keyword">inline</span> <a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="namespacedrogon.html#a4b98643f5682fc8fa40e72fb0f4724dc">toRequest&lt;Json::Value &amp;&gt;</a>(Json::Value &amp;pJson)</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>{</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>    <span class="keywordflow">return</span> <a class="code hl_function" href="namespacedrogon.html#aa521ad1caa3b6cefbf3f4d44e834158b">toRequest</a>((<span class="keyword">const</span> Json::Value &amp;)pJson);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>}</div>
</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span><span class="keyword">template</span> &lt;&gt;</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>std::shared_ptr&lt;Json::Value&gt; <a class="code hl_function" href="namespacedrogon.html#a11d29ebe41b2ce6a39b9c517fe259298">fromRequest</a>(<span class="keyword">const</span> HttpRequest &amp;req);</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span> </div>
<div class="foldopen" id="foldopen00080" data-start="{" data-end="};">
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html">   80</a></span><span class="keyword">class </span><a class="code hl_define" href="exports_8h.html#a00d0a001c2dd03906272e00b0598182e">DROGON_EXPORT</a> <a class="code hl_class" href="classdrogon_1_1HttpRequest.html">HttpRequest</a></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>{</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>  <span class="keyword">public</span>:</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00096" data-start="{" data-end="}">
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#acc72785a533037e590f115fe5bd6c75d">   96</a></span>    <span class="keyword">operator</span> T()<span class="keyword"> const</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>        <span class="keywordflow">return</span> fromRequest&lt;T&gt;(*<span class="keyword">this</span>);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>    }</div>
</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00106" data-start="{" data-end="}">
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aeb190035600806be1061047c86435eb6">  106</a></span>    T <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aeb190035600806be1061047c86435eb6">as</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>        <span class="keywordflow">return</span> fromRequest&lt;T&gt;(*<span class="keyword">this</span>);</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>    }</div>
</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a2669bfbd165bf1473ec0fa4a9feba16a">  112</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a2669bfbd165bf1473ec0fa4a9feba16a">methodString</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span> </div>
<div class="foldopen" id="foldopen00114" data-start="{" data-end="}">
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a6fb71306a047da66cb683e30354d8072">  114</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a6fb71306a047da66cb683e30354d8072">getMethodString</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>        <span class="keywordflow">return</span> methodString();</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>    }</div>
</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a048f166aa73dead14bbcc3f25bca38bf">  120</a></span>    <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespacedrogon.html#a4e9a968fbdc3aa357cefc8aca7e99642">HttpMethod</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a048f166aa73dead14bbcc3f25bca38bf">method</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="foldopen" id="foldopen00122" data-start="{" data-end="}">
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aac203d76e055c0fb33ebbeae09c3756a">  122</a></span>    <a class="code hl_enumeration" href="namespacedrogon.html#a4e9a968fbdc3aa357cefc8aca7e99642">HttpMethod</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aac203d76e055c0fb33ebbeae09c3756a">getMethod</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>        <span class="keywordflow">return</span> method();</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>    }</div>
</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a6763d56768cd69bcd4192646afa1fd62">  135</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a6763d56768cd69bcd4192646afa1fd62">isHead</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a060bcdf3c731e9646844a382952520b4">  143</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a060bcdf3c731e9646844a382952520b4">getHeader</a>(std::string key) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a2f88e7bc42b59b76bbd7010a8adaf74e">  152</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a2f88e7bc42b59b76bbd7010a8adaf74e">addHeader</a>(std::string field, <span class="keyword">const</span> std::string &amp;value) = 0;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a413025134f2a459d3f2abf79d0c3ae0a">  153</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a413025134f2a459d3f2abf79d0c3ae0a">addHeader</a>(std::string field, std::string &amp;&amp;value) = 0;</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span> </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a705b138e5b8d3b6c8927f5b79e1691d6">  160</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a705b138e5b8d3b6c8927f5b79e1691d6">removeHeader</a>(std::string key) = 0;</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a8527f153ba733cfdf4f9391ee4e5bdff">  163</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a8527f153ba733cfdf4f9391ee4e5bdff">getCookie</a>(<span class="keyword">const</span> std::string &amp;field) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span> </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#abc95612c7b9bc03d4480f8014d2c72d4">  166</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> SafeStringMap&lt;std::string&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#abc95612c7b9bc03d4480f8014d2c72d4">headers</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span> </div>
<div class="foldopen" id="foldopen00169" data-start="{" data-end="}">
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aef85232dc8d3e5073d7e354abcc9eb5f">  169</a></span>    <span class="keyword">const</span> SafeStringMap&lt;std::string&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aef85232dc8d3e5073d7e354abcc9eb5f">getHeaders</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>        <span class="keywordflow">return</span> headers();</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span>    }</div>
</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a833666f1c88d6a75f2e443c6d6cb2549">  175</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> SafeStringMap&lt;std::string&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a833666f1c88d6a75f2e443c6d6cb2549">cookies</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span> </div>
<div class="foldopen" id="foldopen00178" data-start="{" data-end="}">
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a1cbed8e4eda7e691c57d787111378f18">  178</a></span>    <span class="keyword">const</span> SafeStringMap&lt;std::string&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a1cbed8e4eda7e691c57d787111378f18">getCookies</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>        <span class="keywordflow">return</span> cookies();</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>    }</div>
</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a6b613b012cd4f11edcf3aa942949abc2">  187</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a6b613b012cd4f11edcf3aa942949abc2">realContentLength</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span> </div>
<div class="foldopen" id="foldopen00189" data-start="{" data-end="}">
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#adb8f85ee0232567b0ec7e32f9d2cff01">  189</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#adb8f85ee0232567b0ec7e32f9d2cff01">getRealContentLength</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>        <span class="keywordflow">return</span> realContentLength();</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>    }</div>
</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span> </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a76f2e55af8c68dd74006f472ddf93b86">  198</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a76f2e55af8c68dd74006f472ddf93b86">query</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span> </div>
<div class="foldopen" id="foldopen00201" data-start="{" data-end="}">
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#acdd06fd1af970724c8423c2f2becd15b">  201</a></span>    <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#acdd06fd1af970724c8423c2f2becd15b">getQuery</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>        <span class="keywordflow">return</span> query();</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span>    }</div>
</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span> </div>
<div class="foldopen" id="foldopen00208" data-start="{" data-end="}">
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aacf900e89f8dc4ab25c83a52af0098a7">  208</a></span>    std::string_view <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aacf900e89f8dc4ab25c83a52af0098a7">body</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>        <span class="keywordflow">return</span> std::string_view(bodyData(), bodyLength());</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span>    }</div>
</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span> </div>
<div class="foldopen" id="foldopen00215" data-start="{" data-end="}">
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a8ffeaaa2b7558b8a765b5554559cc883">  215</a></span>    std::string_view <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a8ffeaaa2b7558b8a765b5554559cc883">getBody</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span>        <span class="keywordflow">return</span> body();</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span>    }</div>
</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span> </div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aa4c7273cc87ad7a67ba15276b0599780">  220</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aa4c7273cc87ad7a67ba15276b0599780">bodyData</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a18ea1443c1e8e6a363536a44e69d2836">  221</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a18ea1443c1e8e6a363536a44e69d2836">bodyLength</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a645260380cd6a0ecb0cfbb500e6780b6">  224</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a645260380cd6a0ecb0cfbb500e6780b6">setBody</a>(<span class="keyword">const</span> std::string &amp;body) = 0;</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span> </div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a631ea22a1cd899492755aa82cb248fe1">  227</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a631ea22a1cd899492755aa82cb248fe1">setBody</a>(std::string &amp;&amp;body) = 0;</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno">  228</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a5f5eed4854c6b7568db430629ead60ae">  230</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5f5eed4854c6b7568db430629ead60ae">path</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a7ddf25ec9dce5903d82a4fcb44c6b288">  233</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a7ddf25ec9dce5903d82a4fcb44c6b288">getOriginalPath</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span> </div>
<div class="foldopen" id="foldopen00236" data-start="{" data-end="}">
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a29bd261db20da296114b8510a07f337b">  236</a></span>    <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a29bd261db20da296114b8510a07f337b">getPath</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span>        <span class="keywordflow">return</span> path();</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span>    }</div>
</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span> </div>
<div class="foldopen" id="foldopen00242" data-start="{" data-end="}">
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a8a94d310b1e01fe928a5427e73e4cfb9">  242</a></span>    std::string_view <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a8a94d310b1e01fe928a5427e73e4cfb9">getMatchedPathPattern</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span>        <span class="keywordflow">return</span> matchedPathPattern();</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span>    }</div>
</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span> </div>
<div class="foldopen" id="foldopen00248" data-start="{" data-end="}">
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a4bd8206194768d907decd10ae565d600">  248</a></span>    std::string_view <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a4bd8206194768d907decd10ae565d600">matchedPathPattern</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno">  249</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span>        <span class="keywordflow">return</span> std::string_view(matchedPathPatternData(),</div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span>                                matchedPathPatternLength());</div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span>    }</div>
</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span> </div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a04f4ade116aa2a55bc0294983c00dfe4">  256</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::vector&lt;std::string&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a04f4ade116aa2a55bc0294983c00dfe4">getRoutingParameters</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span> </div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a5f7ca8804ae1b294a02ce4b6dea25b57">  259</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5f7ca8804ae1b294a02ce4b6dea25b57">setRoutingParameters</a>(std::vector&lt;std::string&gt; &amp;&amp;params) = 0;</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span> </div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#acd5462a19d0f6e58e59eccb54a0e3417">  261</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#acd5462a19d0f6e58e59eccb54a0e3417">matchedPathPatternData</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a864a6d9debc84e0ee3b47bd367ff2f39">  262</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a864a6d9debc84e0ee3b47bd367ff2f39">matchedPathPatternLength</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span> </div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#af7933dab06e890a0a239273a4679dc85">  266</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#af7933dab06e890a0a239273a4679dc85">versionString</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span> </div>
<div class="foldopen" id="foldopen00268" data-start="{" data-end="}">
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a4f11566aaf1af116d0c2e036ef4a1bfc">  268</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a4f11566aaf1af116d0c2e036ef4a1bfc">getVersionString</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>        <span class="keywordflow">return</span> versionString();</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span>    }</div>
</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span> </div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span> </div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a096b7dd2522108681042cd31a648ec15">  278</a></span>    <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespacedrogon.html#ac6b3a6bb435a379d956658fa20b067c1">Version</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a096b7dd2522108681042cd31a648ec15">version</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span> </div>
<div class="foldopen" id="foldopen00281" data-start="{" data-end="}">
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a5ab9cf2fd734dcd1cbfa861889e269d5">  281</a></span>    <a class="code hl_enumeration" href="namespacedrogon.html#ac6b3a6bb435a379d956658fa20b067c1">Version</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5ab9cf2fd734dcd1cbfa861889e269d5">getVersion</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span>        <span class="keywordflow">return</span> version();</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno">  284</span>    }</div>
</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno">  285</span> </div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a4c2f90190752e4807b9e0f482617929c">  287</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code hl_typedef" href="namespacedrogon.html#af0ccaa26ab9bac38fbfa3caf29a9d970">SessionPtr</a> &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a4c2f90190752e4807b9e0f482617929c">session</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno">  288</span> </div>
<div class="foldopen" id="foldopen00290" data-start="{" data-end="}">
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a8675d231a9703a305a32c8a8ca05baaf">  290</a></span>    <span class="keyword">const</span> <a class="code hl_typedef" href="namespacedrogon.html#af0ccaa26ab9bac38fbfa3caf29a9d970">SessionPtr</a> &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a8675d231a9703a305a32c8a8ca05baaf">getSession</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span>        <span class="keywordflow">return</span> session();</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno">  293</span>    }</div>
</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span> </div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#accf1907d36f509e06f266266139b3b63">  297</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code hl_typedef" href="namespacedrogon.html#aa12d27459d310871d4c93167431514c9">AttributesPtr</a> &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#accf1907d36f509e06f266266139b3b63">attributes</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span> </div>
<div class="foldopen" id="foldopen00301" data-start="{" data-end="}">
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a5f1896551c6cd9312193199f695d96bb">  301</a></span>    <span class="keyword">const</span> <a class="code hl_typedef" href="namespacedrogon.html#aa12d27459d310871d4c93167431514c9">AttributesPtr</a> &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5f1896551c6cd9312193199f695d96bb">getAttributes</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span>        <span class="keywordflow">return</span> attributes();</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span>    }</div>
</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno">  305</span> </div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a54bb14c12a910bd555547d5a537db214">  307</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> SafeStringMap&lt;std::string&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a54bb14c12a910bd555547d5a537db214">parameters</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span> </div>
<div class="foldopen" id="foldopen00310" data-start="{" data-end="}">
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a753fbdc4223c99d80c1707aa9e5178ce">  310</a></span>    <span class="keyword">const</span> SafeStringMap&lt;std::string&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a753fbdc4223c99d80c1707aa9e5178ce">getParameters</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno">  311</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno">  312</span>        <span class="keywordflow">return</span> parameters();</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno">  313</span>    }</div>
</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno">  314</span> </div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a28bf720d0a46cf02ad35a306e74c7be9">  316</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a28bf720d0a46cf02ad35a306e74c7be9">getParameter</a>(<span class="keyword">const</span> std::string &amp;key) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno">  317</span> </div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span>    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00328" data-start="{" data-end="}">
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a5a69f21ad5799947e3f0913a7ee092e7">  328</a></span>    std::optional&lt;T&gt; <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5a69f21ad5799947e3f0913a7ee092e7">getOptionalParameter</a>(<span class="keyword">const</span> std::string &amp;key)</div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno">  329</span>    {</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno">  330</span>        <span class="keyword">auto</span> &amp;params = getParameters();</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno">  331</span>        <span class="keyword">auto</span> it = params.find(key);</div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno">  332</span>        <span class="keywordflow">if</span> (it != params.end())</div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span>        {</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno">  334</span>            <span class="keywordflow">try</span></div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno">  335</span>            {</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno">  336</span>                <span class="keywordflow">return</span> std::optional&lt;T&gt;(</div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno">  337</span>                    drogon::utils::fromString&lt;T&gt;(it-&gt;second));</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno">  338</span>            }</div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno">  339</span>            <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception &amp;e)</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno">  340</span>            {</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span>                LOG_ERROR &lt;&lt; e.what();</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno">  342</span>                <span class="keywordflow">return</span> std::optional&lt;T&gt;{};</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span>            }</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span>        }</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno">  345</span>        <span class="keywordflow">else</span></div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno">  346</span>        {</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span>            <span class="keywordflow">return</span> std::optional&lt;T&gt;{};</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno">  348</span>        }</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span>    }</div>
</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span> </div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a609abcdabd8afa356ecb812cd16caa4e">  352</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> trantor::InetAddress &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a609abcdabd8afa356ecb812cd16caa4e">peerAddr</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno">  353</span> </div>
<div class="foldopen" id="foldopen00354" data-start="{" data-end="}">
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a62ca076631e1531bf352495d9d8fcbd2">  354</a></span>    <span class="keyword">const</span> trantor::InetAddress &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a62ca076631e1531bf352495d9d8fcbd2">getPeerAddr</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno">  355</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno">  356</span>        <span class="keywordflow">return</span> peerAddr();</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno">  357</span>    }</div>
</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span> </div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a80e2f03b2d000eaadc050a92efb85201">  360</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> trantor::InetAddress &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a80e2f03b2d000eaadc050a92efb85201">localAddr</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span> </div>
<div class="foldopen" id="foldopen00362" data-start="{" data-end="}">
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a79c9603f62bd98c7e1dbfac96509c45a">  362</a></span>    <span class="keyword">const</span> trantor::InetAddress &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a79c9603f62bd98c7e1dbfac96509c45a">getLocalAddr</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno">  363</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno">  364</span>        <span class="keywordflow">return</span> localAddr();</div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno">  365</span>    }</div>
</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span> </div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a024176b2a34ceb593535879e7c4c5fc6">  368</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> trantor::Date &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a024176b2a34ceb593535879e7c4c5fc6">creationDate</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span> </div>
<div class="foldopen" id="foldopen00370" data-start="{" data-end="}">
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aa71a4f5111ad3a9e839001bf778130d2">  370</a></span>    <span class="keyword">const</span> trantor::Date &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aa71a4f5111ad3a9e839001bf778130d2">getCreationDate</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span>        <span class="keywordflow">return</span> creationDate();</div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span>    }</div>
</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span> </div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span>    <span class="comment">// Return the peer certificate (if any)</span></div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#adcf8ea232ecc123049303ea898fc23ca">  376</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> trantor::CertificatePtr &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#adcf8ea232ecc123049303ea898fc23ca">peerCertificate</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span> </div>
<div class="foldopen" id="foldopen00378" data-start="{" data-end="}">
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a367158ef76fe6512fc999e4002ef3779">  378</a></span>    <span class="keyword">const</span> trantor::CertificatePtr &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a367158ef76fe6512fc999e4002ef3779">getPeerCertificate</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno">  380</span>        <span class="keywordflow">return</span> peerCertificate();</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span>    }</div>
</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span> </div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno">  384</span> </div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aaa642f22265dd40f58e1c649e9617192">  388</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::shared_ptr&lt;Json::Value&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aaa642f22265dd40f58e1c649e9617192">jsonObject</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno">  389</span> </div>
<div class="foldopen" id="foldopen00391" data-start="{" data-end="}">
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a5b67088a4acf8e30a6a4954b8ec10ad6">  391</a></span>    <span class="keyword">const</span> std::shared_ptr&lt;Json::Value&gt; &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5b67088a4acf8e30a6a4954b8ec10ad6">getJsonObject</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span>        <span class="keywordflow">return</span> jsonObject();</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span>    }</div>
</div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno">  395</span> </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#accd71d5fa4f022a658b425fb9af400e3">  404</a></span>    <span class="keyword">virtual</span> <span class="keyword">const</span> std::string &amp;<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#accd71d5fa4f022a658b425fb9af400e3">getJsonError</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span> </div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a3f95b9911ee19fb729bc601a72999c74">  407</a></span>    <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespacedrogon.html#a2037a41934aeea1598d7468b4b8cb823">ContentType</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a3f95b9911ee19fb729bc601a72999c74">contentType</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span> </div>
<div class="foldopen" id="foldopen00409" data-start="{" data-end="}">
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a5069f8c4bf4d31efac1b03c1c676bfa7">  409</a></span>    <a class="code hl_enumeration" href="namespacedrogon.html#a2037a41934aeea1598d7468b4b8cb823">ContentType</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5069f8c4bf4d31efac1b03c1c676bfa7">getContentType</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span><span class="keyword">    </span>{</div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span>        <span class="keywordflow">return</span> contentType();</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno">  412</span>    }</div>
</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span> </div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#ad10c2740f72a0861ed8cf57e439b8a01">  415</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#ad10c2740f72a0861ed8cf57e439b8a01">setMethod</a>(<span class="keyword">const</span> <a class="code hl_enumeration" href="namespacedrogon.html#a4e9a968fbdc3aa357cefc8aca7e99642">HttpMethod</a> method) = 0;</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno">  416</span> </div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a4e12be07501f106474ab3502f0a14a44">  418</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a4e12be07501f106474ab3502f0a14a44">setPath</a>(<span class="keyword">const</span> std::string &amp;path) = 0;</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a4a0e6b6f5fa434aa6efebf98f21c406a">  419</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a4a0e6b6f5fa434aa6efebf98f21c406a">setPath</a>(std::string &amp;&amp;path) = 0;</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span> </div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a60d2ce355c5daa9d284a744342b9fb58">  429</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a60d2ce355c5daa9d284a744342b9fb58">setPathEncode</a>(<span class="keywordtype">bool</span>) = 0;</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno">  430</span> </div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a5e180b9572c51f1404dde91786efd8eb">  432</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5e180b9572c51f1404dde91786efd8eb">setParameter</a>(<span class="keyword">const</span> std::string &amp;key,</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno">  433</span>                              <span class="keyword">const</span> std::string &amp;value) = 0;</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno">  434</span> </div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aa4c26d3241c102624af7c35cec6f6428">  436</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aa4c26d3241c102624af7c35cec6f6428">setContentTypeCode</a>(<span class="keyword">const</span> <a class="code hl_enumeration" href="namespacedrogon.html#a2037a41934aeea1598d7468b4b8cb823">ContentType</a> type) = 0;</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno">  437</span> </div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno">  440</span>    <span class="comment">//</span></div>
<div class="foldopen" id="foldopen00442" data-start="{" data-end="}">
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a3b301645ade6d935e8e3774aa6a20256">  442</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a3b301645ade6d935e8e3774aa6a20256">setContentTypeString</a>(<span class="keyword">const</span> std::string_view &amp;typeString)</div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span>    {</div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span>        setContentTypeString(typeString.data(), typeString.size());</div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span>    }</div>
</div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span> </div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a58760d7eb7ea7eb8a48fb5a625bd2b9a">  450</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a58760d7eb7ea7eb8a48fb5a625bd2b9a">setCustomContentTypeString</a>(<span class="keyword">const</span> std::string &amp;type) = 0;</div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span> </div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a7a10862a08ca04d852484c30b3e6bcbe">  453</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a7a10862a08ca04d852484c30b3e6bcbe">addCookie</a>(std::string key, std::string value) = 0;</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span> </div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#acc00a936c71b0e19e6e78f482c15a8de">  464</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#acc00a936c71b0e19e6e78f482c15a8de">setPassThrough</a>(<span class="keywordtype">bool</span> flag) = 0;</div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno">  465</span> </div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno">  468</span> </div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a4ce310707acce8c34bbc60cb217acd28">  470</a></span>    <span class="keyword">static</span> <a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a4ce310707acce8c34bbc60cb217acd28">newHttpRequest</a>();</div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span> </div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#aca350e8c1b4ee54458d13c5cbde47950">  477</a></span>    <span class="keyword">static</span> <a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aca350e8c1b4ee54458d13c5cbde47950">newHttpJsonRequest</a>(<span class="keyword">const</span> Json::Value &amp;data);</div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno">  478</span> </div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a4b41057d6a8dd9042f889d92ae5d4472">  483</a></span>    <span class="keyword">static</span> <a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a4b41057d6a8dd9042f889d92ae5d4472">newHttpFormPostRequest</a>();</div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno">  484</span> </div>
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#af86db6d05493f9b70823b74c1ce596a1">  491</a></span>    <span class="keyword">static</span> <a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#af86db6d05493f9b70823b74c1ce596a1">newFileUploadRequest</a>(</div>
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno">  492</span>        <span class="keyword">const</span> std::vector&lt;UploadFile&gt; &amp;files);</div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span> </div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno">  498</span>    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00499" data-start="{" data-end="}">
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a005a1d7c15be4a8abe28242c24e9ac61">  499</a></span>    <span class="keyword">static</span> <a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a005a1d7c15be4a8abe28242c24e9ac61">newCustomHttpRequest</a>(T &amp;&amp;obj)</div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno">  500</span>    {</div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno">  501</span>        <span class="keywordflow">return</span> <a class="code hl_function" href="namespacedrogon.html#aa521ad1caa3b6cefbf3f4d44e834158b">toRequest</a>(std::forward&lt;T&gt;(obj));</div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno">  502</span>    }</div>
</div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno">  503</span> </div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#acfe3fda6caec7005531122271dee5f40">  504</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#acfe3fda6caec7005531122271dee5f40">isOnSecureConnection</a>() const noexcept = 0;</div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a12c2921e141a4c70e0ab798ec17c3ffd">  505</a></span>    virtual <span class="keywordtype">void</span> setContentTypeString(const <span class="keywordtype">char</span> *typeString,</div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno">  506</span>                                      <span class="keywordtype">size_t</span> typeStringLength) = 0;</div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno">  507</span> </div>
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#ac5b6341fa423f837eb2ddfff2e11b4c0">  508</a></span>    virtual <span class="keywordtype">bool</span> connected() const noexcept = 0;</div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno">  509</span> </div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#a491744aad77bbeb7537acece42333d78">  510</a></span>    virtual const std::weak_ptr&lt;trantor::TcpConnection&gt; &amp;getConnectionPtr()</div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno">  511</span>        const noexcept = 0;</div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno">  512</span> </div>
<div class="foldopen" id="foldopen00513" data-start="{" data-end="}">
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"><a class="line" href="classdrogon_1_1HttpRequest.html#ae1f9f0b9316284d88a1ff53f381aa4d1">  513</a></span>    virtual ~<a class="code hl_class" href="classdrogon_1_1HttpRequest.html">HttpRequest</a>()</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno">  514</span>    {</div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno">  515</span>    }</div>
</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno">  516</span>};</div>
</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno">  517</span> </div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno">  518</span><span class="keyword">template</span> &lt;&gt;</div>
<div class="foldopen" id="foldopen00519" data-start="{" data-end="}">
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"><a class="line" href="namespacedrogon.html#af7f11c24519ad14ef0e4686231fad1f4">  519</a></span><span class="keyword">inline</span> <a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="namespacedrogon.html#af7f11c24519ad14ef0e4686231fad1f4">toRequest&lt;const Json::Value &amp;&gt;</a>(<span class="keyword">const</span> Json::Value &amp;pJson)</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno">  520</span>{</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno">  521</span>    <span class="keywordflow">return</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aca350e8c1b4ee54458d13c5cbde47950">HttpRequest::newHttpJsonRequest</a>(pJson);</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno">  522</span>}</div>
</div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno">  523</span> </div>
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno">  524</span><span class="keyword">template</span> &lt;&gt;</div>
<div class="foldopen" id="foldopen00525" data-start="{" data-end="}">
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"><a class="line" href="namespacedrogon.html#a90e3a0870f22ede310c9408ff708f79b">  525</a></span><span class="keyword">inline</span> <a class="code hl_typedef" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> <a class="code hl_function" href="namespacedrogon.html#aa521ad1caa3b6cefbf3f4d44e834158b">toRequest</a>(Json::Value &amp;&amp;pJson)</div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno">  526</span>{</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno">  527</span>    <span class="keywordflow">return</span> <a class="code hl_function" href="classdrogon_1_1HttpRequest.html#aca350e8c1b4ee54458d13c5cbde47950">HttpRequest::newHttpJsonRequest</a>(std::move(pJson));</div>
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno">  528</span>}</div>
</div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno">  529</span> </div>
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno">  530</span><span class="keyword">template</span> &lt;&gt;</div>
<div class="foldopen" id="foldopen00531" data-start="{" data-end="}">
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"><a class="line" href="namespacedrogon.html#aced9dcf0375603455d3b914ba7a65886">  531</a></span><span class="keyword">inline</span> std::shared_ptr&lt;Json::Value&gt; <a class="code hl_function" href="namespacedrogon.html#a11d29ebe41b2ce6a39b9c517fe259298">fromRequest</a>(<span class="keyword">const</span> <a class="code hl_class" href="classdrogon_1_1HttpRequest.html">HttpRequest</a> &amp;req)</div>
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno">  532</span>{</div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno">  533</span>    <span class="keywordflow">return</span> req.<a class="code hl_function" href="classdrogon_1_1HttpRequest.html#a5b67088a4acf8e30a6a4954b8ec10ad6">getJsonObject</a>();</div>
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno">  534</span>}</div>
</div>
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno">  535</span> </div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno">  536</span>}  <span class="comment">// namespace drogon</span></div>
<div class="ttc" id="aAttribute_8h_html"><div class="ttname"><a href="Attribute_8h.html">Attribute.h</a></div></div>
<div class="ttc" id="aDrClassMap_8h_html"><div class="ttname"><a href="DrClassMap_8h.html">DrClassMap.h</a></div></div>
<div class="ttc" id="aHttpTypes_8h_html"><div class="ttname"><a href="HttpTypes_8h.html">HttpTypes.h</a></div></div>
<div class="ttc" id="aSession_8h_html"><div class="ttname"><a href="Session_8h.html">Session.h</a></div></div>
<div class="ttc" id="aUploadFile_8h_html"><div class="ttname"><a href="UploadFile_8h.html">UploadFile.h</a></div></div>
<div class="ttc" id="aclassdrogon_1_1DrClassMap_html_a3479980ccf7edf6b886a02a29af181e4"><div class="ttname"><a href="classdrogon_1_1DrClassMap.html#a3479980ccf7edf6b886a02a29af181e4">drogon::DrClassMap::demangle</a></div><div class="ttdeci">static std::string demangle(const char *mangled_name)</div><div class="ttdoc">demangle the type name which is returned by typeid(T).name().</div><div class="ttdef"><b>Definition</b> DrClassMap.h:116</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html">drogon::HttpRequest</a></div><div class="ttdoc">Abstract class for webapp developer to get or set the Http request;</div><div class="ttdef"><b>Definition</b> HttpRequest.h:81</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a005a1d7c15be4a8abe28242c24e9ac61"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a005a1d7c15be4a8abe28242c24e9ac61">drogon::HttpRequest::newCustomHttpRequest</a></div><div class="ttdeci">static HttpRequestPtr newCustomHttpRequest(T &amp;&amp;obj)</div><div class="ttdoc">Create a custom HTTP request object. For using this template, users must specialize the toRequest tem...</div><div class="ttdef"><b>Definition</b> HttpRequest.h:499</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a024176b2a34ceb593535879e7c4c5fc6"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a024176b2a34ceb593535879e7c4c5fc6">drogon::HttpRequest::creationDate</a></div><div class="ttdeci">virtual const trantor::Date &amp; creationDate() const =0</div><div class="ttdoc">Return the creation timestamp set by the framework.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a048f166aa73dead14bbcc3f25bca38bf"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a048f166aa73dead14bbcc3f25bca38bf">drogon::HttpRequest::method</a></div><div class="ttdeci">virtual HttpMethod method() const =0</div><div class="ttdoc">Return the enum type method of the request.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a04f4ade116aa2a55bc0294983c00dfe4"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a04f4ade116aa2a55bc0294983c00dfe4">drogon::HttpRequest::getRoutingParameters</a></div><div class="ttdeci">virtual const std::vector&lt; std::string &gt; &amp; getRoutingParameters() const =0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a060bcdf3c731e9646844a382952520b4"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a060bcdf3c731e9646844a382952520b4">drogon::HttpRequest::getHeader</a></div><div class="ttdeci">virtual const std::string &amp; getHeader(std::string key) const =0</div><div class="ttdoc">Get the header string identified by the key parameter.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a096b7dd2522108681042cd31a648ec15"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a096b7dd2522108681042cd31a648ec15">drogon::HttpRequest::version</a></div><div class="ttdeci">virtual Version version() const =0</div><div class="ttdoc">Return the enum type version of the request.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a18ea1443c1e8e6a363536a44e69d2836"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a18ea1443c1e8e6a363536a44e69d2836">drogon::HttpRequest::bodyLength</a></div><div class="ttdeci">virtual size_t bodyLength() const =0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a1cbed8e4eda7e691c57d787111378f18"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a1cbed8e4eda7e691c57d787111378f18">drogon::HttpRequest::getCookies</a></div><div class="ttdeci">const SafeStringMap&lt; std::string &gt; &amp; getCookies() const</div><div class="ttdoc">Get all cookies of the request</div><div class="ttdef"><b>Definition</b> HttpRequest.h:178</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a2669bfbd165bf1473ec0fa4a9feba16a"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a2669bfbd165bf1473ec0fa4a9feba16a">drogon::HttpRequest::methodString</a></div><div class="ttdeci">virtual const char * methodString() const =0</div><div class="ttdoc">Return the method string of the request, such as GET, POST, etc.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a28bf720d0a46cf02ad35a306e74c7be9"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a28bf720d0a46cf02ad35a306e74c7be9">drogon::HttpRequest::getParameter</a></div><div class="ttdeci">virtual const std::string &amp; getParameter(const std::string &amp;key) const =0</div><div class="ttdoc">Get a parameter identified by the</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a29bd261db20da296114b8510a07f337b"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a29bd261db20da296114b8510a07f337b">drogon::HttpRequest::getPath</a></div><div class="ttdeci">const std::string &amp; getPath() const</div><div class="ttdoc">Get the path of the request.</div><div class="ttdef"><b>Definition</b> HttpRequest.h:236</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a2f88e7bc42b59b76bbd7010a8adaf74e"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a2f88e7bc42b59b76bbd7010a8adaf74e">drogon::HttpRequest::addHeader</a></div><div class="ttdeci">virtual void addHeader(std::string field, const std::string &amp;value)=0</div><div class="ttdoc">Set the header string identified by the field parameter</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a367158ef76fe6512fc999e4002ef3779"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a367158ef76fe6512fc999e4002ef3779">drogon::HttpRequest::getPeerCertificate</a></div><div class="ttdeci">const trantor::CertificatePtr &amp; getPeerCertificate() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:378</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a3b301645ade6d935e8e3774aa6a20256"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a3b301645ade6d935e8e3774aa6a20256">drogon::HttpRequest::setContentTypeString</a></div><div class="ttdeci">void setContentTypeString(const std::string_view &amp;typeString)</div><div class="ttdoc">For example, &quot;content-type: text/plain\r\n&quot; or &quot;text/plain&quot;</div><div class="ttdef"><b>Definition</b> HttpRequest.h:442</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a3f95b9911ee19fb729bc601a72999c74"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a3f95b9911ee19fb729bc601a72999c74">drogon::HttpRequest::contentType</a></div><div class="ttdeci">virtual ContentType contentType() const =0</div><div class="ttdoc">Get the content type</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a413025134f2a459d3f2abf79d0c3ae0a"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a413025134f2a459d3f2abf79d0c3ae0a">drogon::HttpRequest::addHeader</a></div><div class="ttdeci">virtual void addHeader(std::string field, std::string &amp;&amp;value)=0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a4a0e6b6f5fa434aa6efebf98f21c406a"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a4a0e6b6f5fa434aa6efebf98f21c406a">drogon::HttpRequest::setPath</a></div><div class="ttdeci">virtual void setPath(std::string &amp;&amp;path)=0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a4b41057d6a8dd9042f889d92ae5d4472"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a4b41057d6a8dd9042f889d92ae5d4472">drogon::HttpRequest::newHttpFormPostRequest</a></div><div class="ttdeci">static HttpRequestPtr newHttpFormPostRequest()</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a4bd8206194768d907decd10ae565d600"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a4bd8206194768d907decd10ae565d600">drogon::HttpRequest::matchedPathPattern</a></div><div class="ttdeci">std::string_view matchedPathPattern() const</div><div class="ttdoc">Get the matched path pattern after routing</div><div class="ttdef"><b>Definition</b> HttpRequest.h:248</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a4c2f90190752e4807b9e0f482617929c"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a4c2f90190752e4807b9e0f482617929c">drogon::HttpRequest::session</a></div><div class="ttdeci">virtual const SessionPtr &amp; session() const =0</div><div class="ttdoc">Get the session to which the request belongs.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a4ce310707acce8c34bbc60cb217acd28"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a4ce310707acce8c34bbc60cb217acd28">drogon::HttpRequest::newHttpRequest</a></div><div class="ttdeci">static HttpRequestPtr newHttpRequest()</div><div class="ttdoc">Create a normal request with http method Get and version Http1.1.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a4e12be07501f106474ab3502f0a14a44"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a4e12be07501f106474ab3502f0a14a44">drogon::HttpRequest::setPath</a></div><div class="ttdeci">virtual void setPath(const std::string &amp;path)=0</div><div class="ttdoc">Set the path of the request</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a4f11566aaf1af116d0c2e036ef4a1bfc"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a4f11566aaf1af116d0c2e036ef4a1bfc">drogon::HttpRequest::getVersionString</a></div><div class="ttdeci">const char * getVersionString() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:268</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a5069f8c4bf4d31efac1b03c1c676bfa7"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a5069f8c4bf4d31efac1b03c1c676bfa7">drogon::HttpRequest::getContentType</a></div><div class="ttdeci">ContentType getContentType() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:409</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a54bb14c12a910bd555547d5a537db214"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a54bb14c12a910bd555547d5a537db214">drogon::HttpRequest::parameters</a></div><div class="ttdeci">virtual const SafeStringMap&lt; std::string &gt; &amp; parameters() const =0</div><div class="ttdoc">Get parameters of the request.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a58760d7eb7ea7eb8a48fb5a625bd2b9a"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a58760d7eb7ea7eb8a48fb5a625bd2b9a">drogon::HttpRequest::setCustomContentTypeString</a></div><div class="ttdeci">virtual void setCustomContentTypeString(const std::string &amp;type)=0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a5a69f21ad5799947e3f0913a7ee092e7"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a5a69f21ad5799947e3f0913a7ee092e7">drogon::HttpRequest::getOptionalParameter</a></div><div class="ttdeci">std::optional&lt; T &gt; getOptionalParameter(const std::string &amp;key)</div><div class="ttdoc">Get the optional parameter identified by the key. if the parameter doesn't exist, or the original par...</div><div class="ttdef"><b>Definition</b> HttpRequest.h:328</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a5ab9cf2fd734dcd1cbfa861889e269d5"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a5ab9cf2fd734dcd1cbfa861889e269d5">drogon::HttpRequest::getVersion</a></div><div class="ttdeci">Version getVersion() const</div><div class="ttdoc">Return the enum type version of the request.</div><div class="ttdef"><b>Definition</b> HttpRequest.h:281</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a5b67088a4acf8e30a6a4954b8ec10ad6"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a5b67088a4acf8e30a6a4954b8ec10ad6">drogon::HttpRequest::getJsonObject</a></div><div class="ttdeci">const std::shared_ptr&lt; Json::Value &gt; &amp; getJsonObject() const</div><div class="ttdoc">Get the Json object of the request</div><div class="ttdef"><b>Definition</b> HttpRequest.h:391</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a5e180b9572c51f1404dde91786efd8eb"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a5e180b9572c51f1404dde91786efd8eb">drogon::HttpRequest::setParameter</a></div><div class="ttdeci">virtual void setParameter(const std::string &amp;key, const std::string &amp;value)=0</div><div class="ttdoc">Set the parameter of the request</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a5f1896551c6cd9312193199f695d96bb"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a5f1896551c6cd9312193199f695d96bb">drogon::HttpRequest::getAttributes</a></div><div class="ttdeci">const AttributesPtr &amp; getAttributes() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:301</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a5f5eed4854c6b7568db430629ead60ae"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a5f5eed4854c6b7568db430629ead60ae">drogon::HttpRequest::path</a></div><div class="ttdeci">virtual const std::string &amp; path() const =0</div><div class="ttdoc">Get the path of the request.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a5f7ca8804ae1b294a02ce4b6dea25b57"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a5f7ca8804ae1b294a02ce4b6dea25b57">drogon::HttpRequest::setRoutingParameters</a></div><div class="ttdeci">virtual void setRoutingParameters(std::vector&lt; std::string &gt; &amp;&amp;params)=0</div><div class="ttdoc">This method usually is called by the framework.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a609abcdabd8afa356ecb812cd16caa4e"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a609abcdabd8afa356ecb812cd16caa4e">drogon::HttpRequest::peerAddr</a></div><div class="ttdeci">virtual const trantor::InetAddress &amp; peerAddr() const =0</div><div class="ttdoc">Return the remote IP address and port</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a60d2ce355c5daa9d284a744342b9fb58"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a60d2ce355c5daa9d284a744342b9fb58">drogon::HttpRequest::setPathEncode</a></div><div class="ttdeci">virtual void setPathEncode(bool)=0</div><div class="ttdoc">The default behavior is to encode the value of setPath using urlEncode. Setting the path encode to fa...</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a62ca076631e1531bf352495d9d8fcbd2"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a62ca076631e1531bf352495d9d8fcbd2">drogon::HttpRequest::getPeerAddr</a></div><div class="ttdeci">const trantor::InetAddress &amp; getPeerAddr() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:354</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a631ea22a1cd899492755aa82cb248fe1"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a631ea22a1cd899492755aa82cb248fe1">drogon::HttpRequest::setBody</a></div><div class="ttdeci">virtual void setBody(std::string &amp;&amp;body)=0</div><div class="ttdoc">Set the content string of the request.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a645260380cd6a0ecb0cfbb500e6780b6"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a645260380cd6a0ecb0cfbb500e6780b6">drogon::HttpRequest::setBody</a></div><div class="ttdeci">virtual void setBody(const std::string &amp;body)=0</div><div class="ttdoc">Set the content string of the request.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a6763d56768cd69bcd4192646afa1fd62"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a6763d56768cd69bcd4192646afa1fd62">drogon::HttpRequest::isHead</a></div><div class="ttdeci">virtual bool isHead() const =0</div><div class="ttdoc">Check if the method is or was HttpMethod::Head</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a6b613b012cd4f11edcf3aa942949abc2"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a6b613b012cd4f11edcf3aa942949abc2">drogon::HttpRequest::realContentLength</a></div><div class="ttdeci">virtual size_t realContentLength() const =0</div><div class="ttdoc">Return content length parsed from the Content-Length header If no Content-Length header,...</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a6fb71306a047da66cb683e30354d8072"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a6fb71306a047da66cb683e30354d8072">drogon::HttpRequest::getMethodString</a></div><div class="ttdeci">const char * getMethodString() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:114</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a705b138e5b8d3b6c8927f5b79e1691d6"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a705b138e5b8d3b6c8927f5b79e1691d6">drogon::HttpRequest::removeHeader</a></div><div class="ttdeci">virtual void removeHeader(std::string key)=0</div><div class="ttdoc">Remove the header identified by the key parameter.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a753fbdc4223c99d80c1707aa9e5178ce"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a753fbdc4223c99d80c1707aa9e5178ce">drogon::HttpRequest::getParameters</a></div><div class="ttdeci">const SafeStringMap&lt; std::string &gt; &amp; getParameters() const</div><div class="ttdoc">Get parameters of the request.</div><div class="ttdef"><b>Definition</b> HttpRequest.h:310</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a76f2e55af8c68dd74006f472ddf93b86"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a76f2e55af8c68dd74006f472ddf93b86">drogon::HttpRequest::query</a></div><div class="ttdeci">virtual const std::string &amp; query() const =0</div><div class="ttdoc">Get the query string of the request.</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a79c9603f62bd98c7e1dbfac96509c45a"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a79c9603f62bd98c7e1dbfac96509c45a">drogon::HttpRequest::getLocalAddr</a></div><div class="ttdeci">const trantor::InetAddress &amp; getLocalAddr() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:362</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a7a10862a08ca04d852484c30b3e6bcbe"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a7a10862a08ca04d852484c30b3e6bcbe">drogon::HttpRequest::addCookie</a></div><div class="ttdeci">virtual void addCookie(std::string key, std::string value)=0</div><div class="ttdoc">Add a cookie</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a7ddf25ec9dce5903d82a4fcb44c6b288"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a7ddf25ec9dce5903d82a4fcb44c6b288">drogon::HttpRequest::getOriginalPath</a></div><div class="ttdeci">virtual const std::string &amp; getOriginalPath() const =0</div><div class="ttdoc">Get the original path of the request.(before url-decoding)</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a80e2f03b2d000eaadc050a92efb85201"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a80e2f03b2d000eaadc050a92efb85201">drogon::HttpRequest::localAddr</a></div><div class="ttdeci">virtual const trantor::InetAddress &amp; localAddr() const =0</div><div class="ttdoc">Return the local IP address and port</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a833666f1c88d6a75f2e443c6d6cb2549"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a833666f1c88d6a75f2e443c6d6cb2549">drogon::HttpRequest::cookies</a></div><div class="ttdeci">virtual const SafeStringMap&lt; std::string &gt; &amp; cookies() const =0</div><div class="ttdoc">Get all cookies of the request</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a8527f153ba733cfdf4f9391ee4e5bdff"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a8527f153ba733cfdf4f9391ee4e5bdff">drogon::HttpRequest::getCookie</a></div><div class="ttdeci">virtual const std::string &amp; getCookie(const std::string &amp;field) const =0</div><div class="ttdoc">Get the cookie string identified by the field parameter</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a864a6d9debc84e0ee3b47bd367ff2f39"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a864a6d9debc84e0ee3b47bd367ff2f39">drogon::HttpRequest::matchedPathPatternLength</a></div><div class="ttdeci">virtual size_t matchedPathPatternLength() const =0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a8675d231a9703a305a32c8a8ca05baaf"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a8675d231a9703a305a32c8a8ca05baaf">drogon::HttpRequest::getSession</a></div><div class="ttdeci">const SessionPtr &amp; getSession() const</div><div class="ttdoc">Get the session to which the request belongs.</div><div class="ttdef"><b>Definition</b> HttpRequest.h:290</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a8a94d310b1e01fe928a5427e73e4cfb9"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a8a94d310b1e01fe928a5427e73e4cfb9">drogon::HttpRequest::getMatchedPathPattern</a></div><div class="ttdeci">std::string_view getMatchedPathPattern() const</div><div class="ttdoc">Get the matched path pattern after routing</div><div class="ttdef"><b>Definition</b> HttpRequest.h:242</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_a8ffeaaa2b7558b8a765b5554559cc883"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#a8ffeaaa2b7558b8a765b5554559cc883">drogon::HttpRequest::getBody</a></div><div class="ttdeci">std::string_view getBody() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:215</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aa4c26d3241c102624af7c35cec6f6428"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aa4c26d3241c102624af7c35cec6f6428">drogon::HttpRequest::setContentTypeCode</a></div><div class="ttdeci">virtual void setContentTypeCode(const ContentType type)=0</div><div class="ttdoc">Set or get the content type</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aa4c7273cc87ad7a67ba15276b0599780"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aa4c7273cc87ad7a67ba15276b0599780">drogon::HttpRequest::bodyData</a></div><div class="ttdeci">virtual const char * bodyData() const =0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aa71a4f5111ad3a9e839001bf778130d2"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aa71a4f5111ad3a9e839001bf778130d2">drogon::HttpRequest::getCreationDate</a></div><div class="ttdeci">const trantor::Date &amp; getCreationDate() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:370</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aaa642f22265dd40f58e1c649e9617192"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aaa642f22265dd40f58e1c649e9617192">drogon::HttpRequest::jsonObject</a></div><div class="ttdeci">virtual const std::shared_ptr&lt; Json::Value &gt; &amp; jsonObject() const =0</div><div class="ttdoc">Get the Json object of the request</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aac203d76e055c0fb33ebbeae09c3756a"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aac203d76e055c0fb33ebbeae09c3756a">drogon::HttpRequest::getMethod</a></div><div class="ttdeci">HttpMethod getMethod() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:122</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aacf900e89f8dc4ab25c83a52af0098a7"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aacf900e89f8dc4ab25c83a52af0098a7">drogon::HttpRequest::body</a></div><div class="ttdeci">std::string_view body() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:208</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_abc95612c7b9bc03d4480f8014d2c72d4"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#abc95612c7b9bc03d4480f8014d2c72d4">drogon::HttpRequest::headers</a></div><div class="ttdeci">virtual const SafeStringMap&lt; std::string &gt; &amp; headers() const =0</div><div class="ttdoc">Get all headers of the request</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aca350e8c1b4ee54458d13c5cbde47950"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aca350e8c1b4ee54458d13c5cbde47950">drogon::HttpRequest::newHttpJsonRequest</a></div><div class="ttdeci">static HttpRequestPtr newHttpJsonRequest(const Json::Value &amp;data)</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_acc00a936c71b0e19e6e78f482c15a8de"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#acc00a936c71b0e19e6e78f482c15a8de">drogon::HttpRequest::setPassThrough</a></div><div class="ttdeci">virtual void setPassThrough(bool flag)=0</div><div class="ttdoc">Set the request object to the pass-through mode or not. It's not by default when a new request object...</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_accd71d5fa4f022a658b425fb9af400e3"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#accd71d5fa4f022a658b425fb9af400e3">drogon::HttpRequest::getJsonError</a></div><div class="ttdeci">virtual const std::string &amp; getJsonError() const =0</div><div class="ttdoc">Get the error message of parsing the JSON body received from peer. This method usually is called afte...</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_accf1907d36f509e06f266266139b3b63"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#accf1907d36f509e06f266266139b3b63">drogon::HttpRequest::attributes</a></div><div class="ttdeci">virtual const AttributesPtr &amp; attributes() const =0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_acd5462a19d0f6e58e59eccb54a0e3417"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#acd5462a19d0f6e58e59eccb54a0e3417">drogon::HttpRequest::matchedPathPatternData</a></div><div class="ttdeci">virtual const char * matchedPathPatternData() const =0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_acdd06fd1af970724c8423c2f2becd15b"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#acdd06fd1af970724c8423c2f2becd15b">drogon::HttpRequest::getQuery</a></div><div class="ttdeci">const std::string &amp; getQuery() const</div><div class="ttdoc">Get the query string of the request.</div><div class="ttdef"><b>Definition</b> HttpRequest.h:201</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_acfe3fda6caec7005531122271dee5f40"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#acfe3fda6caec7005531122271dee5f40">drogon::HttpRequest::isOnSecureConnection</a></div><div class="ttdeci">virtual bool isOnSecureConnection() const noexcept=0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_ad10c2740f72a0861ed8cf57e439b8a01"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#ad10c2740f72a0861ed8cf57e439b8a01">drogon::HttpRequest::setMethod</a></div><div class="ttdeci">virtual void setMethod(const HttpMethod method)=0</div><div class="ttdoc">Set the Http method</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_adb8f85ee0232567b0ec7e32f9d2cff01"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#adb8f85ee0232567b0ec7e32f9d2cff01">drogon::HttpRequest::getRealContentLength</a></div><div class="ttdeci">size_t getRealContentLength() const</div><div class="ttdef"><b>Definition</b> HttpRequest.h:189</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_adcf8ea232ecc123049303ea898fc23ca"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#adcf8ea232ecc123049303ea898fc23ca">drogon::HttpRequest::peerCertificate</a></div><div class="ttdeci">virtual const trantor::CertificatePtr &amp; peerCertificate() const =0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aeb190035600806be1061047c86435eb6"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aeb190035600806be1061047c86435eb6">drogon::HttpRequest::as</a></div><div class="ttdeci">T as() const</div><div class="ttdoc">This template enables explicit type conversion, see the above template.</div><div class="ttdef"><b>Definition</b> HttpRequest.h:106</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_aef85232dc8d3e5073d7e354abcc9eb5f"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#aef85232dc8d3e5073d7e354abcc9eb5f">drogon::HttpRequest::getHeaders</a></div><div class="ttdeci">const SafeStringMap&lt; std::string &gt; &amp; getHeaders() const</div><div class="ttdoc">Get all headers of the request</div><div class="ttdef"><b>Definition</b> HttpRequest.h:169</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_af7933dab06e890a0a239273a4679dc85"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#af7933dab06e890a0a239273a4679dc85">drogon::HttpRequest::versionString</a></div><div class="ttdeci">virtual const char * versionString() const =0</div></div>
<div class="ttc" id="aclassdrogon_1_1HttpRequest_html_af86db6d05493f9b70823b74c1ce596a1"><div class="ttname"><a href="classdrogon_1_1HttpRequest.html#af86db6d05493f9b70823b74c1ce596a1">drogon::HttpRequest::newFileUploadRequest</a></div><div class="ttdeci">static HttpRequestPtr newFileUploadRequest(const std::vector&lt; UploadFile &gt; &amp;files)</div></div>
<div class="ttc" id="aexports_8h_html"><div class="ttname"><a href="exports_8h.html">exports.h</a></div></div>
<div class="ttc" id="aexports_8h_html_a00d0a001c2dd03906272e00b0598182e"><div class="ttname"><a href="exports_8h.html#a00d0a001c2dd03906272e00b0598182e">DROGON_EXPORT</a></div><div class="ttdeci">#define DROGON_EXPORT</div><div class="ttdef"><b>Definition</b> exports.h:15</div></div>
<div class="ttc" id="anamespacedrogon_html"><div class="ttname"><a href="namespacedrogon.html">drogon</a></div><div class="ttdoc">Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn'...</div><div class="ttdef"><b>Definition</b> Attribute.h:23</div></div>
<div class="ttc" id="anamespacedrogon_html_a11d29ebe41b2ce6a39b9c517fe259298"><div class="ttname"><a href="namespacedrogon.html#a11d29ebe41b2ce6a39b9c517fe259298">drogon::fromRequest</a></div><div class="ttdeci">T fromRequest(const HttpRequest &amp;)</div><div class="ttdoc">This template is used to convert a request object to a custom type object. Users must specialize the ...</div><div class="ttdef"><b>Definition</b> HttpRequest.h:45</div></div>
<div class="ttc" id="anamespacedrogon_html_a2037a41934aeea1598d7468b4b8cb823"><div class="ttname"><a href="namespacedrogon.html#a2037a41934aeea1598d7468b4b8cb823">drogon::ContentType</a></div><div class="ttdeci">ContentType</div><div class="ttdef"><b>Definition</b> HttpTypes.h:100</div></div>
<div class="ttc" id="anamespacedrogon_html_a4b98643f5682fc8fa40e72fb0f4724dc"><div class="ttname"><a href="namespacedrogon.html#a4b98643f5682fc8fa40e72fb0f4724dc">drogon::toRequest&lt; Json::Value &amp; &gt;</a></div><div class="ttdeci">HttpRequestPtr toRequest&lt; Json::Value &amp; &gt;(Json::Value &amp;pJson)</div><div class="ttdef"><b>Definition</b> HttpRequest.h:71</div></div>
<div class="ttc" id="anamespacedrogon_html_a4e9a968fbdc3aa357cefc8aca7e99642"><div class="ttname"><a href="namespacedrogon.html#a4e9a968fbdc3aa357cefc8aca7e99642">drogon::HttpMethod</a></div><div class="ttdeci">HttpMethod</div><div class="ttdef"><b>Definition</b> HttpTypes.h:190</div></div>
<div class="ttc" id="anamespacedrogon_html_a5200699555f98a809538342baa167aad"><div class="ttname"><a href="namespacedrogon.html#a5200699555f98a809538342baa167aad">drogon::HttpRequestPtr</a></div><div class="ttdeci">std::shared_ptr&lt; HttpRequest &gt; HttpRequestPtr</div><div class="ttdef"><b>Definition</b> drogon_callbacks.h:26</div></div>
<div class="ttc" id="anamespacedrogon_html_aa12d27459d310871d4c93167431514c9"><div class="ttname"><a href="namespacedrogon.html#aa12d27459d310871d4c93167431514c9">drogon::AttributesPtr</a></div><div class="ttdeci">std::shared_ptr&lt; Attributes &gt; AttributesPtr</div><div class="ttdef"><b>Definition</b> Attribute.h:128</div></div>
<div class="ttc" id="anamespacedrogon_html_aa521ad1caa3b6cefbf3f4d44e834158b"><div class="ttname"><a href="namespacedrogon.html#aa521ad1caa3b6cefbf3f4d44e834158b">drogon::toRequest</a></div><div class="ttdeci">HttpRequestPtr toRequest(T &amp;&amp;)</div><div class="ttdoc">This template is used to create a request object from a custom type object by calling the newCustomHt...</div><div class="ttdef"><b>Definition</b> HttpRequest.h:58</div></div>
<div class="ttc" id="anamespacedrogon_html_ac6b3a6bb435a379d956658fa20b067c1"><div class="ttname"><a href="namespacedrogon.html#ac6b3a6bb435a379d956658fa20b067c1">drogon::Version</a></div><div class="ttdeci">Version</div><div class="ttdef"><b>Definition</b> HttpTypes.h:93</div></div>
<div class="ttc" id="anamespacedrogon_html_af0ccaa26ab9bac38fbfa3caf29a9d970"><div class="ttname"><a href="namespacedrogon.html#af0ccaa26ab9bac38fbfa3caf29a9d970">drogon::SessionPtr</a></div><div class="ttdeci">std::shared_ptr&lt; Session &gt; SessionPtr</div><div class="ttdef"><b>Definition</b> Session.h:279</div></div>
<div class="ttc" id="anamespacedrogon_html_af7f11c24519ad14ef0e4686231fad1f4"><div class="ttname"><a href="namespacedrogon.html#af7f11c24519ad14ef0e4686231fad1f4">drogon::toRequest&lt; const Json::Value &amp; &gt;</a></div><div class="ttdeci">HttpRequestPtr toRequest&lt; const Json::Value &amp; &gt;(const Json::Value &amp;pJson)</div><div class="ttdef"><b>Definition</b> HttpRequest.h:519</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
